<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>removeAttributeNode</title>
    </head>
    <body>
        <h1 style="color:red">Hello World</h1>
        <p id="demo">点击按钮来删除标题中的 style 属性节点。</p>

        <button onclick="myFunction()">试一下</button>
        <script src="removeAttributeNode.js"></script>
    </body>
</html>